package cn.ym.ymcc.mapper;

import cn.ym.ymcc.domain.Role;
import cn.ym.ymcc.query.RoleQuery;
import com.baomidou.mybatisplus.mapper.BaseMapper;

import java.util.List;

/**
 * <p>
 * 角色表 Mapper 接口
 * </p>
 *
 * @author 210513347@qq.com
 * @since 2023-05-06
 */
public interface RoleMapper extends BaseMapper<Role> {
    //1.查询总数量
    Long queryCount(RoleQuery query);
    //2.查询当前页的分页数据
    List<Role> queryData(RoleQuery query);
}
